package com.twetec.cms.model.vo.website;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel
public class ArticleRelevantVO implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "相关文章id", example = "1234657891")
    private Long relevantArticleId;

    @ApiModelProperty(value = "相关文章标题", example = "xxxxx文章标题")
    private String relevantArticleTitle;

    public Long getRelevantArticleId() {
        return relevantArticleId;
    }

    public void setRelevantArticleId(Long relevantArticleId) {
        this.relevantArticleId = relevantArticleId;
    }

    public String getRelevantArticleTitle() {
        return relevantArticleTitle;
    }

    public void setRelevantArticleTitle(String relevantArticleTitle) {
        this.relevantArticleTitle = relevantArticleTitle;
    }

    @Override
    public String toString() {
        return "ArticleRelevantVO{" +
                "relevantArticleId=" + relevantArticleId +
                ", relevantArticleTitle='" + relevantArticleTitle + '\'' +
                '}';
    }
}
